package com.group12.liuxinpeng.role.service;

import com.group12.liuxinpeng.mybatis.entity.PtRoleEntity;
import com.group12.liuxinpeng.mybatis.flexigrid.PadingRstType;
import com.group12.liuxinpeng.mybatis.flexigrid.PagingBean;
import com.group12.liuxinpeng.mybatis.ztree.ZtreeEntity;
import com.group12.liuxinpeng.role.entity.SearchRoleEntity;

import java.util.List;

/**
 * @ClassName RoleService
 * @Description: //TODO
 * @Author wyq
 * @Date 2022/5/16 15:35
 */
public interface RoleService {
    PadingRstType<PtRoleEntity> queryRoleListPage(SearchRoleEntity search, PagingBean paging);

    List<ZtreeEntity> queryMenuByRoleId(String roleUuid);

    void saveMenuIdAndRoleId(String roleUuid, String menuArray);

}
